#include<bits/stdc++.h>
using namespace std;
int main()
{
	int x,y;
	cin>>x>>y;
	x>=-1&&x<=1&&y>=-1&&y<=1?cout<<"yes":cout<<"no";
    return 0;
}

